using System;
using System.IO;

namespace ResourceLoader.Loader
{
    public class PathChecker
    {
        /// <summary>
        /// 检查相关文件是否已存在
        /// </summary>
        public static void CheckFilesExit(string filePath)
        {
            if (!File.Exists(filePath))
            {
                throw new Exception($"文件{filePath}不存在");
            }
        }
    }
}